<%@page import="org.springframework.security.core.context.SecurityContextHolder"%>
<%@page import="org.apache.commons.lang.StringUtils"%>
<%@page import="org.apache.commons.lang.time.DateFormatUtils"%>
<%@page import="org.springframework.util.CollectionUtils"%>
<%@page import="java.util.Collection"%>
<%@ include file="../common/common_include.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	TblSiteSeo seo = (TblSiteSeo)request.getAttribute("seo");
	SiteForm form = (SiteForm)request.getAttribute(Constants.FORM_COMMAND_KEY);
%>
		<form id="newsFORM" name="form" target="coreIframe"
			action="<%=request.getContextPath()%>/site/seo/doEdit" method="post" enctype="multipart/form-data">
			<div class="breadcrumb">
				<div class="bcIcon"></div>
				<ul class="bcNav">
					<li>编辑页面</li>
				</ul>
			</div>
		<input type="hidden" value="<%=EncrypTool.encode(seo.getId()+"") %>" name="id">
			<table class="formTable">
				<tr>
					<td class="tdTitle">页面标题:</td>
					<td>
						<input class="inputText s" name="pageTitle" value="<%=seo.getTitle()%>">
						<span class="errorTipWrap" id="errorTip_pageTitle"></span>
					</td>
				</tr>
				
				<tr>
					<td class="tdTitle">关键词：</td>
					<td class="" colspan="2">
						<div style="padding-top: 10px; padding-bottom: 10px;">
							<textarea id="content" name="pageKeywords"
								style="width: 700px; height: 100px; "><%=seo.getKeywords() %></textarea>
						</div>
						<span class="errorTipWrap" id="errorTip_pageKeywords"></span>
					</td>
				</tr>
				
				<tr>
					<td class="tdTitle">描述：</td>
					<td class="" colspan="2">
						<div style="padding-top: 10px; padding-bottom: 10px;">
							<textarea id="content" name="pageDescription"
								style="width: 700px; height: 200px; "><%=seo.getDescription() %></textarea>
						</div>
						<span class="errorTipWrap" id="errorTip_pageDescription"></span>
					</td>
				</tr>
				<tr>
					<td class="tdTitle"></td>
					<td>
						<div>
							<input class="input-btn-microsoft" type="submit" value="提交">
							<a class="a-btn-microsoft"
								href="javascript:XF.Site.requestUrl('/site/seo/list')">取消</a>
						</div>
					</td>
				</tr>
			</table>
		</form>

<iframe name="coreIframe" style="display: none"></iframe>
</html>